// 登录接口

import instance from "../https/axios"

// 用户名密码登录接口
export function normalFn(data) {
    return instance({
        url: '/api/common/auth/login',
        method: 'POST',
        data
    })
}


// 检验图形验证码接口
export function verifyCaptcha(data) {
    return instance({
        url: '/api/common/captcha/verify',
        method: 'POST',
        data
    })
}

// 发送短信接口
export function sendPhoneMsg(data) {
    return instance({
        url: '/api/common/sms/send',
        method: 'POST',
        data
    })
}